package org.panda.tcmoc.domain;

public class Error {
	public final static int ERR_EXISTED=1403;
	public final static int ERR_SUCCESS=1;
	public int code;
	public String desc;
	
	public Error(int code, String desc) {
		super();
		this.code = code;
		this.desc = desc;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getDesc() {
		return desc;
	}
	@Override
	public String toString() {
		return "Error [code=" + code + ", desc=" + desc + "]";
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}
